Skip to content

Conversation

@erwango
Copy link
Member

@erwango erwango commented Sep 22, 2022

See #50040

Note: We end up with quite non nice labels like:

  • dac80508_dac80508_evm
  • uc8176_waveshare_epaper_gdew042t2
  • lsm303agr-magn_x_nucleo_iks01a2

I wonder if <shield_name>_<device> instead of <device>_<shield_name> wouldn't be a better option. Toughs ?

@erwango erwango added the DNM This PR should not be merged (Do Not Merge) label Sep 22, 2022
@erwango erwango added this to the v3.3.0 milestone Sep 22, 2022
@zephyrbot zephyrbot added the area: Shields Shields (add-on boards) label Sep 22, 2022
@erwango erwango removed the DNM This PR should not be merged (Do Not Merge) label Sep 23, 2022
@erwango erwango force-pushed the dev_shields_nodelabel branch from 4623935 to 9bc72f5 Compare September 23, 2022 15:09
@erwango erwango added the RFC Request For Comments: want input from the community label Sep 23, 2022
@erwango erwango force-pushed the dev_shields_nodelabel branch from 9bc72f5 to c9e4492 Compare September 26, 2022 07:19
Update requirements regarding board connectors compatibility now that
dtc versions prior to 1.4.2 can't be used anymore (current required
version is 1.4.6).

Signed-off-by: Erwan Gouriou <[email protected]>
In order to avoid device definitions conflicts when compiling shields
description with boards embedding similar devices, nodelabels of devices
in shield's devicetree file should differ from the nodelabels used in
board's devicetree file.
The form to be used was discussed in zephyrproject-rtos#50040 and agreed to be as
<device>_<shield_name>.

Update shields documentation to make it an explicit rule.

Signed-off-by: Erwan Gouriou <[email protected]>
@erwango erwango force-pushed the dev_shields_nodelabel branch from c9e4492 to 5e0ecfa Compare September 26, 2022 07:23
jfischer-no
jfischer-no previously approved these changes Sep 26, 2022
Update existing shields to conform with new node label naming scheme.

Signed-off-by: Erwan Gouriou <[email protected]>
Fix indentation issues in shield overlays seen when reviewing
previous commit.

Signed-off-by: Erwan Gouriou <[email protected]>
@carlescufi carlescufi merged commit 6b23044 into zephyrproject-rtos:main Oct 3, 2022
Nicolas62x added a commit to Nicolas62x/zephyr_stm32mp1 that referenced this pull request Jun 20, 2023
Replaced incorrect names with correct ones.
Fixes: zephyrproject-rtos#50526

Signed-off-by: Nicolas Granger <[email protected]>
fabiobaltieri pushed a commit that referenced this pull request Jun 20, 2023
Replaced incorrect names with correct ones.
Fixes: #50526

Signed-off-by: Nicolas Granger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Shields Shields (add-on boards) RFC Request For Comments: want input from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants